﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DIProject.Util
{
    [Serializable]
    public class SettingFile
    {
        private Util.BarCodePrinterType _bcp;

        public Util.BarCodePrinterType BarcodePrinter
        {
            get { return _bcp; }
            set { _bcp = value; }
        }
        private string _zebraEncoding;

        public string ZebraEncoding
        {
            get { return _zebraEncoding; }
            set { _zebraEncoding = value; }
        }
        private string _orderUnloadProgrammFilePath;
        /// <summary>
        /// путь к файлу программы, запускаемому после выгрузки заказов
        /// </summary>
        public string OrderUnloadProgrammFilePath
        {
            get { return _orderUnloadProgrammFilePath; }
            set { _orderUnloadProgrammFilePath = value; }
        }

        public SettingFile()
        {
            _bcp = BarCodePrinterType.EMPTY;
            _zebraEncoding = "cp866";
        }
        private List<Util.OrderInfo> _orders;

        public List<Util.OrderInfo> Orders
        {
            get { return _orders; }
            set { _orders = value; }
        }

    }
}
